#ifndef WINWRAP_H
#define WINWRAP_H

#ifdef MINGW

#include <windows.h>
#include <winreg.h>
#include <wchar.h>

WINADVAPI LONG WINAPI RegOpenCurrentUser(REGSAM regsam, PHKEY phkey);

#define __T(x)      L ## x

#define _T(x)       __T(x)
#define _TEXT(x)    __T(x)

#endif

#endif // WINWRAP_H
